package com.tender.impl;

import com.tender.WebSocketServerBizService;
import com.tender.integration.websocket.utils.WebSocketMapUtil;
import org.springframework.stereotype.Service;

@Service
public class WebSocketServerBizServiceImpl implements WebSocketServerBizService {

    @Override
    public Integer userCount() {
        return WebSocketMapUtil.getUserNum();
    }

    @Override
    public Integer pcCountAll() {
        return WebSocketMapUtil.getPcUserNum();
    }

    @Override
    public Integer ipadCountAll() {
        return WebSocketMapUtil.getIpadUserNum();
    }

    @Override
    public Integer appCountAll() {
        return WebSocketMapUtil.getAppUserNum();
    }
}
